package com.yycx.module.bus.client.entity.hy;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yycx.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yycx.common.mybatis.annotation.TableAlias;
/**
 * 政策详情
 *
 * @author flyme
 * @date 2023-07-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_policy_custom")
@TableAlias("bpc")
@ApiModel(value="BusPolicyCustom对象", description="政策详情")
public class BusPolicyCustom extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "policyCustomId", type = IdType.ASSIGN_ID)
    private Long policyCustomId;

    @ApiModelProperty(value = "药品配置ID")
    private Long policyDrugId;

    @ApiModelProperty(value = "政策ID")
    private Long policyFileId;


    @ApiModelProperty(value = "客户编号")
    private String customCode;

    @ApiModelProperty(value = "客户名称")
    private String customName;

    @ApiModelProperty(value = "账套ID")
    private Long companyId;


    @ApiModelProperty(value = "市场结算价")
    private BigDecimal settlePrice;

    @ApiModelProperty(value = "市场结算费率")
    private BigDecimal settleRate;

    @ApiModelProperty(value = "结算公式")
    private String settleFormula;

    @ApiModelProperty(value = "结算公式ID")
    private Long settleFormulaId;

    @ApiModelProperty(value = "包票")
    private Integer baopiao;

    @ApiModelProperty(value = "结算规则(1:回款后结算,0:不回款结算)")
    private Integer settleRule;

    @ApiModelProperty(value = "开始日期")
    private Date beginDate;

    @ApiModelProperty(value = "结束日期")
    private Date endDate;

    @ApiModelProperty(value = "备注")
    private String remark;
}
